package com.yidu.springbootdemo.permission.dao;

import com.yidu.springbootdemo.permission.domain.TrolesModules;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface TrolesModulesMapper {
    int deleteByPrimaryKey(String rolId);

    int insert(TrolesModules record);

    int insertSelective(TrolesModules record);

    TrolesModules selectByPrimaryKey(String rolId);

    int updateByPrimaryKeySelective(TrolesModules record);

    int updateByPrimaryKey(TrolesModules record);
    
    int delete(String chaID);
    
    public List<TrolesModules> findAll(String chaId);
}